package com.cn.yang.service;

import com.cn.yang.bean.Group;
import com.cn.yang.bean.Personnel;

import java.util.List;

public interface GroupService {
    void insertGroup(List<Group> list);

    int groupCodeAdd(Group group);

    List<Group> selectGroupCode();

    List<Group> selectGroup(String groupNumber);

    void deleteMyGroup(Personnel personnel);

    void updateOddGroup(Personnel personnel);

    void addMyGroup(Personnel personnel);

    void updateNewGroup(Personnel personnel);

    Group selectGroupCodeNumber(String groupNumber);

    void deleteGroupCode(Group group);

    int deleteGroup(Group group);
}
